package com.peas.platform.module.icims.expenditure.kpis.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.kpis.adapter.repository.ExpenditureKpiItemRepository;
import com.peas.platform.module.icims.expenditure.kpis.adapter.repository.po.ExpenditureKpiItemPo;
import com.peas.platform.module.icims.expenditure.kpis.domain.ExpenditureKpiItemDomain;
import com.peas.platform.module.icims.expenditure.kpis.dto.ExpenditureKpiItemDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureKpiItemDomainImpl extends BaseDomainImpl<ExpenditureKpiItemDto, ExpenditureKpiItemPo> implements ExpenditureKpiItemDomain {

    @Resource
    private ExpenditureKpiItemRepository expenditureKpiItemRepository;

    @Override
    public BaseRepository<ExpenditureKpiItemPo> getMapper() {
        return expenditureKpiItemRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureKpiItemPo>> getRepositoryClass() {
        return ExpenditureKpiItemRepository.class;
    }

}
